//
//  ZFBMineOptionCell.m
//  HMPay
//
//  Created by HaoYoson on 16/7/2.
//  Copyright © 2016年 HaoYoson. All rights reserved.
//

#import "ZFBMineOptionCell.h"

@interface ZFBMineOptionCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *messageLabel;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@end

@implementation ZFBMineOptionCell

- (void)setMineOption:(ZFBMineOption *)mineOption {
    _mineOption = mineOption;

    // 把数据放在控件上
    self.iconView.image = [UIImage imageNamed:mineOption.icon];
    self.messageLabel.text = mineOption.message;
    self.nameLabel.text = mineOption.name;
}

@end
